From b829af263ff3dbd991f0d759258eb60bc85cb13b Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Sun, 22 Oct 2006 14:12:30 -0600 Subject: [PATCH] [IA64] BUG() bad path during domain destruction BUG out on badness due to SMP problems accessing the p2m table. This is temporary until we have a real fix. To avoid this, do not use the RX copy option (xennet.rx_copy). Based on patch by: Tsunehisa Doi Signed-off-by: Alex Williamson --- xen/arch/ia64/xen/mm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/arch/ia64/xen/mm.c b/xen/arch/ia64/xen/mm.c index eed8a40be3..27f66bf7f3 100644 --- a/xen/arch/ia64/xen/mm.c +++ b/xen/arch/ia64/xen/mm.c @@ -399,11 +399,11 @@ gmfn_to_mfn_foreign(struct domain *d, unsigned long gpfn) unsigned long pte; // This function may be called from __gnttab_copy() - // during destruction of VT-i domain with PV-on-HVM driver. + // during domain destruction with VNIF copy receiver. // ** FIXME: This is not SMP-safe yet about p2m table. ** if (unlikely(d->arch.mm.pgd == NULL)) { - if (VMX_DOMAIN(d->vcpu[0])) - return INVALID_MFN; + BUG(); + return INVALID_MFN; } pte = lookup_domain_mpa(d,gpfn << PAGE_SHIFT, NULL); if (!pte) { -- 2.30.2